#include "rpcstub.h"

#pragma comment(lib, "Rpcrt4.lib")


void* __RPC_USER midl_user_allocate(size_t size)
/*++
	Routine:
		midl_user_allocate

	Descr:
		Allocates memory block which used by RPC-engine.

	Params:
		size - size of block for allocation (in bytes).
--*/
{
    return malloc(size);
}

void __RPC_USER midl_user_free(void* p)
/*++
	Routine:
		midl_user_free

	Descr:
		free block of memory which has been allocated
		by means of midl_user_allocate.
--*/
{
    free(p);
}